/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package BE;

import java.util.ArrayList;
import java.util.List;
/**
 *
 * @author Cristian
 */
public class BENodo {
    private int idnodo;
//private int id;
    private int x;
    private int y;
    private int dist;
    private List <BENodo> vecinos;
    private int idrack;
    private int idpallet;
    
    public BENodo() {
        dist=1;
        x=-1;
        y=-1;
        vecinos = new ArrayList<BENodo>();
    }
    
    public BENodo(int idnodo, int x, int y) {
        this.idnodo=idnodo;
        dist=1;
        this.x=x;
        this.y=y;
    }

    public int getIdrack() {
        return idrack;
    }

    public void setIdrack(int idrack) {
        this.idrack = idrack;
    }

    public int getIdpallet() {
        return idpallet;
    }

    public void setIdpallet(int idpallet) {
        this.idpallet = idpallet;
    }   
    
    public int getIdNodo(){
        return idnodo;
    }
    public void setIdNodo(int id){
        this.idnodo=id;
    }
    
    public int getX (){
        return x;
    }
    public int getY (){
        return y;
    }
    public void setX (int x){
        this.x=x;
    }
    public void setY (int y){
        this.y=y;
    }
    public int getDist (){
        return dist;
    }
    public void setDist (int dist){
        this.dist=dist;
    }
    
    public List<BENodo> getVecinos() {
        return vecinos;
    }
    public void setVecinos(List<BENodo> vecinos) {
        this.vecinos = vecinos;
    }
    
//    public int getIdnodo() {
//        return idnodo;
//    }
//
//    public void setIdnodo(int idnodo) {
//        this.idnodo = idnodo;
//    }


}
